<html>
<head>
<script src="/js/telepath.js"></script>
<script language=javascript>

function show(result) {

	document.write(result["name"] + " is " + result["age"] + " years old <br>");
}

TELEPATH.save("test", {name:"Ryanne", age:25}); 

TELEPATH.find("test", {name:"Ryanne"}, show);

TELEPATH.subscribe("test", alert);
TELEPATH.publish("test", {name:"ALERT!"});

//publish("/test1", "hello, world");

//subscribe("/test1", 0, alert);

</script>
</head>
</html>
